package ooday03_homework;

public class TeacherTest {

    public static void main(String[] args) {

        Director director = new Director("a", 41, 50000);
        director.solve();
        System.out.println(director.salary);
        director.CompleteTheWork();
        director.train();
        director.ClockIn();

        ClassAdvisor classAdvisor = new ClassAdvisor("b", 25, 7000);
        classAdvisor.ClockOut();
        classAdvisor.CompleteTheWork();

        Lecturer lecturer = new Lecturer("c", 26, 12000);
        lecturer.edit();
        lecturer.solve();

        Manager[] managers = new Manager[2];
        managers[0] = new Manager("d", 34, 10200);
        managers[1] = new Manager("e", 45, 10100);
        for (int i = 0; i < 2; i++) {
            managers[i].CompleteTheWork();
            managers[i].ClockOut();
        }

    }

}
